package java基础.struct;

/**
 * @author IT_Jay
 * @date 2022/1/4 18:43
 */

public class LabelDemo {
    public static void main(String[] args) {
        //打印101到150之间的质数
        //了解  标签continue
        outer:for (int i = 101; i < 150; i++) {
            for (int j = 2; j <i/2; j++) {
                if (i%j==0){
                    continue outer;
                }
            }
            System.out.print(i+"\t");
        }
    }
}
